package com.thon.service.project;

import java.util.List;
import java.util.Map;

import com.thon.entity.project.ProjectCategory;

/**
 * @file ProjectCategoryService.java
 * @author Zemo
 * @mail zemochen@gmail.com
 * @data 2013年11月20日 上午10:14:19
 * @description: TODO
 */
public interface ProjectCategoryService {
	public ProjectCategory getProjectCategory(int id);

	public List<ProjectCategory> listProjectCategories();

	public void addProjectCategory(ProjectCategory projectCategory);
	
	public void updateProjectCategory(ProjectCategory projectCategory);
	
	public List<ProjectCategory> listCategoriesByType(String type);
	
	public void addCategory(ProjectCategory projectCategory);
	
	public void deleteCategory(int categoryId);
	
	public void updateAmount(Map<Integer,Integer> projects);
	
	public Map<Integer, Integer> getAmount();
	
	public List<ProjectCategory> listAllProjectCategories();
	
}
